API - Cache\APC_driver
system\cache.php at line 964

Class APC_driver

Dynamic_cache_driver
└─Temporary_cache_driver
└─APC_driver

public class APC_driver
extends Temporary_cache_driver

Accelerated PHP Cache driver implementation. This should be used as default cacher on APC-enabled hosts.
Author:
Cotonti Team

Method Summary
void

clear(str realm)

void

exists(mixed id, mixed realm)

void

get(mixed id, mixed realm)

array

get_info()

void

remove(mixed id, mixed realm)

bool

store(string id, mixed data, string realm, int ttl)

Methods inherited from API - Cache\Temporary_cache_driver
dec, get_info, get_ini_size, inc
Methods inherited from API - Cache\Dynamic_cache_driver
store

Method Detail

system\cache.php at line 969

clear

public void clear(str realm)
See Also:
Cache_driver::clear()

system\cache.php at line 985

exists

public void exists(mixed id, mixed realm)
See Also:
Cache_driver::exists()

system\cache.php at line 993

get

public void get(mixed id, mixed realm)
See Also:
Cache_driver::get()

system\cache.php at line 1001

get_info

public array get_info()
See Also:
Temporary_cache_driver::get_info()
Returns:
Associative array containing information

system\cache.php at line 1016

remove

public void remove(mixed id, mixed realm)
See Also:
Cache_driver::remove()

system\cache.php at line 1024

store

public bool store(string id, mixed data, string realm, int ttl)
See Also:
Dynamic_cache_driver::store()
Parameters:
id - Object identifier
data - Object value
realm - Realm name
ttl - Time to live, 0 for unlimited
Returns: